#pragma once
#include "WindowManager.h"
#include "NPC.h"

enum Control {EXIT, CLEAR, BACK, PREVIOUS, PAUSE, NEXT, SKIP, NOTHING};

class ControlBar
{
private:

	WindowManager* window;

	std::vector<sf::Text> controls;
	std::vector<float> boundaries;
	sf::Text createText(std::string);
	float maxHeight;
	float getXend(int idx);
	int current;
	bool pause;
	

	
	
public:
	ControlBar(WindowManager*);
	~ControlBar(void);

	void drawBar();
	bool checkClicked(sf::Vector2i);
	void releaseClicked(void);
	Control clicked(std::vector<int>*, NPC*);
	Control clicked(NPC*);

};

